package com.ddwl.schema.bo.gate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.Instant;
import java.util.List;

@ApiModel(description = "消息配置创建bo")
@Getter
@Setter
public class ShopMessageInfoCreateBo {

    @ApiModelProperty("消息内容")
    private String text;
    @NotNull(message = "消息标题不能为空")
    @ApiModelProperty("消息标题")
    private String title;
    @ApiModelProperty("跳转url")
    private String messageUrl;
    @ApiModelProperty("推送时间")
    private Instant pushTime;
    @ApiModelProperty("消息创建人")
    private String operator;
    @ApiModelProperty("消息更新人")
    private String operatorUpdate;
    @NotNull(message = "消息发送对象类型不能为空")
    @ApiModelProperty("消息发送对象类型（6全体门店 7指定门店)")
    private Integer type;
    @ApiModelProperty("消息图片")
    private String messagePho;
    @ApiModelProperty("消息摘要")
    private String messageAbstract;
    @ApiModelProperty("公司列表")
    private List<ShopMessageUserBo> shopList;
}
